package com.crm.service.crm.clue.service.Impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.crm.model.common.dtos.ResponseResult;
import com.crm.model.crm.clue.pojos.Clue;
import com.crm.service.crm.clue.mapper.ClueSMapper;
import com.crm.service.crm.clue.service.FollowUpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FollowUpServiceImpl implements FollowUpService {

    @Autowired
    private ClueSMapper clueMapper;
    /**
     * 回显线索详情信息
     * @param clueIdName
     * @return
     */
    @Override
    public ResponseResult findByidClueIdName(String clueIdName) {
        LambdaQueryWrapper<Clue> lqw = new LambdaQueryWrapper<>();
        lqw.eq(Clue::getCueIdName,clueIdName);
        Clue clue = clueMapper.selectOne(lqw);

        return null;
    }
}
